fit: fixed bug in locate_dtb_in_fit()
authorJean-Jacques Hiblot <[email protected]>
Fri, 15 Sep 2017 10:57:26 +0000 (12:57 +0200)
committerTom Rini <[email protected]>
Fri, 6 Oct 2017 01:31:04 +0000 (21:31 -0400)
commitd56b86eec32a700cdc16170ad8365ee7c6522f0e
tree529a13d5c6d7a1025208a5a85be8bc1509b15de0
parent906a9dbbcba85e8b02414c960c75103cc4755102
fit: fixed bug in locate_dtb_in_fit()

If the dtb is the first data of the FIT, the its offset is 0x0. Change the
test to '<' instead of '<='

Signed-off-by: Jean-Jacques Hiblot <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/boot_fit.c